/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
:global { // DX-11429 TODO reafactor component to use css modules instead fo global classes

  #upload-avatar {
    position: relative;

    input {
      position: absolute;
      top: 0;
      width: 150px;
      height: 22px;
      filter: alpha(opacity=0);
      opacity: 0;
      cursor: pointer;
    }

    .action {
      text-align: center; font-size: 16px;
    }


    .progressWrapper {
      height: 10px;
      margin-top: 10px;
      width: 150px;
      float:left;
      overflow: hidden;
      background-color: #f5f5f5;
      border-radius: 4px;
      box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
    }
    .progressBar {
      float: left;
      width: 0;
      height: 100%;
      font-size: 12px;
      line-height: 20px;
      color: #fff;
      text-align: center;
      background-color: #337ab7;
      box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
      transition: width .6s ease
    }
    .cancelButton {
      margin-top: 5px;
      padding: 0;
      cursor: pointer;
      background: 0 0;
      border: 0;
      float: left;
      font-size: 21px;
      font-weight: 700;
      line-height: 1;
      color: #000;
      text-shadow: 0 1px 0 #fff;
      filter: alpha(opacity=20);
      opacity: .2
    }


  }
}
